Answers for OCJP / SCJP Online Test | Mock Test
←Go Back to Online Practice TestQues. What is the output for the below code?
|
Option 1. 10 |
Option 2. compile error, index_val not defined |
Option 3. Compile error at import static bean.Abc.index_val; |
Option 4. None of the above |
Ans. Option 1 |
Please provide the reason below. The best provided reason will be displayed with your name(if you are logged-in) on website. |
Enter Reason |
Is it helpful?
Yes
No